//    Copyright (C) Kherty.  All rights reserved.
namespace OpenLS.Spreadsheet
{
    static class BuiltInDefinedNames
    {
        public const string PrintArea = "_xlnm .Print_Area";
        public const string PrintTitles = "_xlnm .Print_Titles";
        public const string Criteria = "_xlnm .Criteria";

        public const string FilterDatabase = "_xlnm ._FilterDatabase";
        public const string Extract = "_xlnm .Extract";
        public const string ConsolidateArea = "_xlnm .Consolidate_Area";
        public const string Database = "_xlnm .Database";
        public const string SheetTitle = "_xlnm .Sheet_Title";
        internal static bool IsBuiltInName (string name)
        {
            switch (name)
            {
                case ConsolidateArea:
                    case Criteria:

                    case Database:
                    case Extract:
                    case FilterDatabase:
                    case PrintArea:
                    case PrintTitles:
                    case SheetTitle:
                    return true;
                    default:
                    return false;
            }
        }
    }
}